package com.itelite.service;

import com.github.pagehelper.PageInfo;
import com.itelite.domain.dto.RecordParam;
import com.itelite.domain.dto.TeacherParam;
import com.itelite.domain.dto.TeacherRecordExcel;
import com.itelite.domain.pojo.Teacher;

import java.util.List;

/**
 * @author 沈洋 邮箱:1845973183@qq.com
 * @create 2021/8/8-18:14
 **/
public interface TeacherService {

    List<Teacher> getTeachers();
    PageInfo<Teacher> getTeachers(TeacherParam param);

    boolean addTeacher(Teacher teacher);

    /**
     * 删除老师
     * @param teacherId 待删除老师工号
     * @return 是否删除
     */
    boolean deleteTeacher(Integer teacherId);


}
